import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
import user from './modules/user'
import admin from './modules/admin'

Vue.use(Vuex)

const state = {}
const mutations = {}
const actions = {}
// const getters = {}

const store = new Vuex.Store({
  state,
  mutations,
  actions,
  getters,
  modules: {
    app,
    settings,
    user,
    admin
  }
})

export default store
